home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-16 | 1.8 KB | 92 lines | [TEXT/MPS ] |
- //
- //
- // File: SLResSin.h
- // Release Version: $ ODF 1 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //
-
- #ifndef SLRESSIN_H
- #define SLRESSIN_H
-
- #ifndef FWENVDEF_IDL
- #include "FWEnvDef.idl"
- #endif
-
- #ifndef SLRANSIN_IDL
- #include "SLRanSin.idl"
- #endif
-
- #include <somobj.idl>
- #include <somcls.idl>
-
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface FW_OResourceSink;
-
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface FW_ORandomAccessSink;
- interface FW_OResource;
-
-
- //==============================================================================
- // Types used by this interface
- //==============================================================================
-
- typedef somToken FW_CPrivResSinRep;
-
-
- //========================================================================================
- // FW_OResourceSink
- //========================================================================================
-
- interface FW_OResourceSink : FW_ORandomAccessSink
- {
- void InitFromOResource(in FW_OResource theResource);
-
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = "FW_OResourceSink__";
-
- override:
- somInit,
- somUninit,
-
- Read,
- GetWritableBytes,
- Write,
- GetLength,
- SetLength,
- GetPosition,
- SetPosition;
-
- releaseorder:
- InitFromOResource;
-
- majorversion = 1;
- minorversion = 0;
-
- passthru C_xh =
- "";
-
- passthru C_xih =
- "";
-
- #ifdef __PRIVATE__
- FW_CPrivResSinRep* fRep;
- #endif
- };
- #endif
- };
-
- #endif
-